daemon: Build with -pthread
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 11 Sep 2021 08:27:17 +0000 (09:27 +0100)
committerAntonio Terceiro <terceiro@debian.org>
Sat, 4 Dec 2021 15:11:35 +0000 (15:11 +0000)
commit588434477ebd648fafb0aec1a24e6671b10d143e
tree4990e3def9c3457f57177bd8845879a892a9cd80
parentabe3f2561cf60fb9784a3e3f3a3679ea5999ff99
daemon: Build with -pthread

The daemon failed to link with glibc < 2.34 because we didn't include
the separate pthread library.  Adding -pthread fixes this.

Note this change was also make upstream in commit 733d2182b6 ("Remove
the tools.") although I think either by accident or unrelated.

Reported-by: Toolybird
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2003326
Gbp-Pq: Name daemon-Build-with-pthread.patch
daemon/Makefile.am